PdfSettings

Print settings available when printing PDF content on a physical printer.

Since

7.13

Functions

Link copied to clipboard
abstract fun apply()
Applies the configured print settings.
Link copied to clipboard
abstract fun colorModel(): ColorModel
Returns the color model used by the printer.
abstract fun colorModel(colorModel: ColorModel): T
Configures the colorModel for printing.
Link copied to clipboard
abstract fun copies(): Int
Returns the number of copies to print.
abstract fun copies(copies: Int): T
Configures the number of copies to print.
Link copied to clipboard
abstract fun disableCollatePrinting(): T
Disables collate printing.
Link copied to clipboard
abstract fun duplexMode(): DuplexMode
Returns the duplex mode used by the printer.
abstract fun duplexMode(duplexMode: DuplexMode): T
Configures the duplex mode for printing.
Link copied to clipboard
abstract fun enableCollatePrinting(): T
Enables collate printing.
Link copied to clipboard
abstract fun fit(): Fit
Returns the fit used by the printer.
abstract fun fit(fit: Fit): T
Configures the fit for printing.
Link copied to clipboard
Returns true if collate printing is enabled.
Link copied to clipboard
abstract fun pageRanges(): Set<PageRange>
Returns an immutable set containing the page ranges to print.
abstract fun pageRanges(pageRanges: Array<PageRange>): T
abstract fun pageRanges(pageRanges: Set<PageRange>): T
Configures the page ranges to print.
Link copied to clipboard
abstract fun pagesPerSheet(): PagesPerSheet
Returns the number of pages per sheet.
abstract fun pagesPerSheet(pagesPerSheet: PagesPerSheet): T
Configures the number of pages per sheet.
Link copied to clipboard
abstract fun paperSize(): PaperSize
Returns the paper size used by the printer.
abstract fun paperSize(paperSize: PaperSize): T
Configures the paper size for printing.
Link copied to clipboard
abstract fun scaling(): Scaling
Returns the scaling used by the printer.
abstract fun scaling(scaling: Scaling): T
Configures the scaling for printing.